import { ApiProperty } from '@nestjs/swagger'
import { IsString, IsNotEmpty, IsNumber, IsBoolean } from 'class-validator'
import { CreateMenuDto } from './create-menu.dto'

export class UpdateMenuDto extends CreateMenuDto {
  @ApiProperty()
  @IsNotEmpty({ message: '菜单 ID 不能为空' })
  readonly id: number
}
